#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
#include <assert.h>

char* MyStrcpy(char* dest,const char* src)
{
	assert(src);
	assert(dest);
	char* pc = dest;
	while (*dest++ = *src++)
	{
		;
	}
	return pc;
}

int MyStrlen(const char* arr);

int i = 5;

void main()
{
	extern int i;
	char arr1[] = "123456";
	char* arr2 = "qwe";
	printf("%d\n", MyStrlen(arr1));
	//MyStrcpy(arr1, arr2);
	printf("%s\n", &arr1);
	int num = 0;
	const int *p = &num;
	num = 1;
	int othernum = 2;
	p = &othernum;
	printf("%d\n", *p);
	printf("%d\n", i);
}

